import request from "@/utils/request.js"

export const register=(data)=>request.post('wzz/register',data)//注册

export const sendCode=(phone)=>request.get(`wzz/sendCode?phone=${phone}`)//发送验证码

export const yz=(phone,code)=>request.get(`wzz/yz?phone=${phone}&code=${code}`)//验证

export const tx=(data)=>request.post('wzz/tx',data)//注册时更新信息

export const pd=(phone)=>request.get(`wzz/pd?phone=${phone}`)//判断是否注册过

export const login=(data)=>request.post('wzz/login',data)//登录





